vmx: Don't enable irq for machine check vmexit handling
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 8 Feb 2010 08:43:25 +0000 (08:43 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 8 Feb 2010 08:43:25 +0000 (08:43 +0000)
commit43d6e1096b0df2b2ba0780fa41b525e11518e520
tree8ae15a6396fec434d4502937325c32a2b75c7d8b
parenta73520207b4a8a1a7f3533b84377d90dac9ae391
vmx: Don't enable irq for machine check vmexit handling

We should not enable irq for machine check VMExit

In changeset 18658:824892134573, IRQ is enabled during VMExit except
external interrupt. The exception should apply for machine check also,
because :
a) The mce_logout_lock should be held in irq_disabled context.
b) The machine check event should be handled as quickly as possible,
enable irq will increase the period greatly.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/vmx/vmx.c